import React, { Component } from 'react';
import { View } from 'react-native';
import Basic from './demo/Basic';
import User1 from './demo/User1';
import {Toast,Label,ThemeProvider,Button} from 'iftide'
export default class Marquee_Demo extends Component{
    constructor(props) {
        super(props);
        this.state = {
            theme:"themeB",
        }
    }

    onPress1=()=>{
        this.setState({
            theme:"themeA",
        })
    }

    render(){
        return(
			<View>
                <Button title={"切换"} size={"normal"} onPress={this.onPress1}  buttonHeight={30}/>
                <ThemeProvider  theme={this.state.theme}/>
				<Basic />
				<User1 />
			</View>
        )
    }
}